﻿package controller{	import com.greensock.TweenLite;		import flash.display.MovieClip;	import flash.events.Event;	import flash.events.MouseEvent;		import model.vo.LogoVO;		import subumbo.micro.controller.ApplicationEvent;	import subumbo.micro.controller.Component;	import subumbo.micro.model.Model;	public class LogoViewController extends Component	{		public var smiley:MovieClip;								override protected function init(e:Event):void		{			super.init(e);			smiley.addEventListener(MouseEvent.MOUSE_DOWN, onDown);		}				private function onDown(e:MouseEvent):void		{			dispatchEvent(new ApplicationEvent(ApplicationEvent.CONTROL, _vo));		}				override protected function bind(e:ApplicationEvent):void		{			_vo = Model.instance.logoVO;			TweenLite.to(smiley, 2, {rotation:360});			super.bind(e);		}				override public function update(e:ApplicationEvent):void		{			TweenLite.to(smiley, 2, {scaleX:1.3, scaleY:1.3, yoyo:1});		}	}}